<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="renderer" content="webkit">
    <title>添加编辑</title>
    <link rel="stylesheet" href="css/style.css">
    <!-- 引用jquery -->
    <script src="ueditor/third-party/jquery-1.10.2.min.js"></script>
    <!-- <script src="../js/jquery.tmpl.js"></script> -->
    <!-- 引入 etpl -->
</head>
<body>
<div class="root with-padding">
    <div class="formList">
      <input  type="hidden" name="id">
      <div class="formLi">
          <div class="formTitle formTitle">
              <span style="color:#818e9b" data-i18n="table.title">标题</span>
          </div>
          <div class="formContent">
              <input class="form-control" data-formcheck="length" type="text" name="title" style="width:478px;">
          </div>
      </div>
      <div class="formLi" style="margin-top: 20px">
        <div class="formTitle">
            <span style="color:#818e9b" data-i18n="course.coverpicture">封面图片</span>
        </div>
        <div class="formContent"  id="J_imgupload">
            <span class="icon icon-uploadimg" id="J_uploadCover">
                <img width="480" height="270" id="J_img">
                <input type="file" name="Filedata" multiple="multiple" data-url="/api/file/upload" id="photo">
            </span>
        </div>
      </div>
      <div class="formLi">
          <div class="formTitle formTitle">
              <span style="color:#818e9b" data-i18n="table.describe">描述</span>
          </div>
          <div class="formContent">
              <input class="form-control" data-formcheck="length" type="text" name="description" style="width:478px;">
          </div>
      </div>
      <div class="formLi">
          <div class="formTitle">
              <span style="color:#818e9b" data-i18n="table.text">正文</span>
          </div>
          <div class="formContent">
          <!-- 加载编辑器的容器 -->
          <script id="editor" name="ceshi" type="text/plain" style="width:798px;height:300px;"></script>
          <p style="color:red;margin-top:10px;" data-i18n="table.prompt">提示：触发标题文本框，激活保存按钮</p>
        </div>

      </div>

    </div>
    <div style="padding:40px 12px 12px 79px; margin-bottom:20px;">
      <input type="submit" class="btn btn-primary " id="submit_html" value="保 存" data-i18n="[value]info.save">
      <a href="../home/about.html" class="btn btn-primary "  target="_blank" style="margin-left:17px;display:none" id="preview" data-i18n="input.preview">预览</a>
    </div>
</div>
<script type="text/javascript" src="js/dist/base.js" charset="utf-8"></script>
<!-- 配置文件 -->
<script src="ueditor/ueditor.config.js"></script>
<!-- 编辑器源码文件 -->
<script type="text/javascript" src="ueditor/ueditor.all.js"></script>
<script type="text/javascript" src="js/dist/widgets/about_us.js" charset="utf-8"></script>
</body>
</html>
